<template>
	<view class="viewport">
		
		
		
		
<u-cell-group>

    <u-cell
	@click="asd"
      size="large"
      title="我的收货地址"
      style="background: #fff;"
      isLink
    ></u-cell>

</u-cell-group>
		<u-cell-group>
			<u-cell
			    size="large"
			    title="关于小兔鲜儿"
				style="background: #fff;"
			    isLink
			></u-cell>
		</u-cell-group>
		<view class="action">
			<u-modal :show="show" :title="title" :showCancelButton="true" @confirm="dsa" @cancel="qwe"></u-modal>
			<view class="button" @click="show = true">
				退出登录
			</view>
		</view>
	</view>
</template>

<script setup>
	import { ref } from 'vue';

const asd=()=>{
	console.log(1);
	uni.navigateTo({
		url:"/pages/mapSet/mapSet"
	})
}


    const showCancelButton = ref(false);
    const show = ref(false);
    const title = '是否退出登录';

    const qwe = () => {
      show.value = false;
    };

    const dsa = () => {
      show.value = false;
    };
</script>

<style lang="scss">
	.viewport{
		padding: 0.625rem;
		.u-cell-group{
				padding: 0 0.625rem;
			    background-color: #fff;
			    margin-bottom: 0.625rem;
			    border-radius: 0.3125rem;
		}
		.action{
			    text-align: center;
			    line-height: 2.8125rem;
			    margin-top: 1.25rem;
			    font-size: 1rem;
			    color: #333;
				.button{
					background-color: #fff;
					    margin-bottom: 0.625rem;
					    border-radius: 0.3125rem;
				}
		}
	}

</style>
